home *** CD-ROM | disk | FTP | other *** search
/ Macworld Expo - Develope…Central & Net Innovations / Developer Central and Net Innovators (MacWorld Expo) (January 1999).iso / Developer Central / Bowers Development / Demo AppMaker / Examples / Pascal OS8 / AMReminder / ResourceDefs.p < prev   
Encoding:
Text File  |  1998-10-30  |  2.2 KB  |  105 lines  |  [TEXT/CWIE]

  1. { ResourceDefs.p }
  2. { Created 10/30/98 1:03 PM by AppMaker }
  3.  
  4. Unit ResourceDefs;
  5. Interface
  6.  
  7. Uses
  8.     Types,
  9.     Menus;
  10.  
  11. const
  12. { Standard Resources: }
  13. { ALRT IDs }
  14.     AboutID            = 1; 
  15.     NeedsAppearanceID    = 2; 
  16.     IOErrorID        = 4; 
  17.     SaveID            = 5; 
  18.     RevertID        = 6; 
  19.     CantPrintID        = 8; 
  20.  
  21. { 'STR ' IDs }
  22.     STR_SaveAsPrompt    = 202; 
  23.  
  24. { commands: }
  25.     cmdQuit            = longint ('Quit');
  26.     cmdNew            = longint ('New ');
  27.     cmdOpen            = longint ('Open');
  28.     cmdClose        = longint ('Cloe');
  29.     cmdSave            = longint ('Save');
  30.     cmdSaveAs        = longint ('Savs');
  31.     cmdRevert        = longint ('Revt');
  32.     cmdPageSetup    = longint ('Pagp');
  33.     cmdPrint        = longint ('Prit');
  34.     cmdUndo            = longint ('Undo');
  35.     cmdCut            = longint ('Cut ');
  36.     cmdCopy            = longint ('Copy');
  37.     cmdPaste        = longint ('Pase');
  38.     cmdClear        = longint ('Cler');
  39.     cmdSelectAll    = longint ('Sell');
  40.     cmdShowClipboard    = longint ('Shod');
  41.     cmdAbout        = longint ('Abot');
  42.  
  43. { AMReminder Resources: }
  44.     MENU_Apple        = 128;
  45.     cAppleAbout        = (128 * 65536) + 1;
  46.  
  47.     MENU_File        = 129;
  48.     cFileNew        = (129 * 65536) + 1;
  49.     cFileOpen        = (129 * 65536) + 2;
  50.     cFileClose        = (129 * 65536) + 4;
  51.     cFileSave        = (129 * 65536) + 5;
  52.     cFileSaveAs        = (129 * 65536) + 6;
  53.     cFileRevert        = (129 * 65536) + 7;
  54.     cFilePageSetup        = (129 * 65536) + 9;
  55.     cFilePrint        = (129 * 65536) + 10;
  56.     cFileQuit        = (129 * 65536) + 12;
  57.  
  58.     MENU_Edit        = 130;
  59.     cEditUndo        = (130 * 65536) + 1;
  60.     cEditCut        = (130 * 65536) + 3;
  61.     cEditCopy        = (130 * 65536) + 4;
  62.     cEditPaste        = (130 * 65536) + 5;
  63.     cEditClear        = (130 * 65536) + 6;
  64.     cEditSelectAll        = (130 * 65536) + 7;
  65.     cEditShowClipboard        = (130 * 65536) + 9;
  66.  
  67.     MENU_Remind        = 131;
  68.     cRemindCancelReminder        = (131 * 65536) + 1;
  69.     cRemindHideReminders        = (131 * 65536) + 2;
  70.  
  71.  
  72. { for MainWindow: }
  73.     WIND_MainWindow        = 200;
  74.     PICT_Logo        = 202;
  75.     CNTL_Logo        = 201;
  76.     CNTL_Year        = 203;
  77.     TEXT_Year        = 204;
  78.     CNTL_RemindersLabel        = 205;
  79.     TEXT_RemindersLabel        = 206;
  80.     CNTL_Reminders        = 208;
  81.     CNTL_Add        = 209;
  82.     CNTL_Edit        = 210;
  83.     CNTL_Delete        = 211;
  84.  
  85. { for Add: }
  86.     DLOG_Add        = 220;
  87.  
  88. { commands: }
  89.     cmdAddReminder    = longint ('Addr');
  90.     cmdEditReminder    = longint ('Edir');
  91.     cmdDeleteReminder    = longint ('Delr');
  92.  
  93. var
  94. { menu handles }
  95.     AppleMenu:        MenuHandle;
  96.     FileMenu:        MenuHandle;
  97.     EditMenu:        MenuHandle;
  98.     RemindMenu:        MenuHandle;
  99.     SoundPopupMenu:        MenuHandle;
  100.  
  101. {----------}
  102. Implementation
  103.  
  104. End.
  105.